﻿using System;

namespace CloudPms.Common.Utils
{
    /// <summary>
    /// 全局常量
    /// </summary>
    public static class GlobalCode
    {
        /// <summary>
        /// 最大有效时间
        /// </summary>
        public static readonly DateTime VALID_MAX_DATETIME = new DateTime(2184, 11, 9);

        /// <summary>
        /// 最小有效时间
        /// </summary>
        public static readonly DateTime VALID_MIN_DATETIME = new DateTime(1984, 11, 9);
        
        /// <summary>
        /// 组织结构根代码
        /// </summary>
        public const string ROOT_HOTEL_ID = "0000000";

        /// <summary>
        /// 酒店默认入住时间[需做成可配置]
        /// </summary>
        public const int DEFAULT_CHECK_IN_HOUR = 18;
        /// <summary>
        /// 酒店默认退房时间[需做成可配置]
        /// </summary>
        public const int DEFAULT_CHECK_OUT_HOUR = 14;

        /// <summary>
        /// 会话过期时间默认8小时
        /// </summary>
        public const int SESSION_EXPIRE_MINUTES = 480;

        /// <summary>
        /// 超级管理员的帐号　admin　
        /// </summary>
        public const string ADMINISTRATOR = "admin";

        /// <summary>
        /// 夜审系统操作人
        /// </summary>
        public const string NIGHT_AUDIT_EMPLOYEE = "系统自动";

        /// <summary>
        /// 夜审操作班次
        /// </summary>
        public const string NIGHT_AUDIT_SHIFT = "系统班次";

        /// <summary>
        /// 国家 - 大陆
        /// </summary>
        public const string COUNTRY_中国 = "CHN";
        
        /// <summary>
        /// 全渠道通用
        /// </summary>
        public const int CHANNEL_ALL = 0;

        /// <summary>
        /// 渠道-门店上门散客
        /// </summary>
        public const int CHANNEL_WALKIN = 1;

        /// <summary>
        /// 默认会员
        /// </summary>
        public const string DEFAULT_MEMBER = "HelloMember";
        





        /// <summary>
        /// 经营分析房型B 已结前缀C，未结前缀D
        /// </summary>
        public const string ANALYSIS_PREFIX_RT = "B", ANALYSIS_PREFIX_RT_OK="C",ANALYSIS_PREFIX_RT_IN_ROOM="D";

        /// <summary>
        /// 已结前缀C，未结前缀D
        /// </summary>
        public const string ANALYSIS_PREFIX_RT_OK_NAME = "_已结", ANALYSIS_PREFIX_RT_IN_ROOM_NAME = "_在住";

        /// <summary>
        /// 经营分析房型 客源类别A 入住类型I 渠道J
        /// </summary>
        public const string ANALYSIS_PREFIX_GSC = "A",ANALYSIS_PREFIX_CHECKIN_TYPE="I",ANALYSIS_PREFIX_CHANNEL="J";
        

    }
}
